﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class ISpritePrxHelper extends RMIProxyObject implements ISpritePrx
    {
        public static const NAME:String = "Message.Game.ISprite";

        public function ISpritePrxHelper()
        {
            name = "ISprite";
            return;
        }// end function

        public function ChangeSprite_async(param1:AMI_ISprite_ChangeSprite, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("ChangeSprite");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function SpriteEvolution_async(param1:AMI_ISprite_SpriteEvolution, param2:int, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("SpriteEvolution");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function UpgradeMeridian_async(param1:AMI_ISprite_UpgradeMeridian, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("UpgradeMeridian");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function activeSprint_async(param1:AMI_ISprite_activeSprint, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("activeSprint");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function dressSpriteEquip_async(param1:AMI_ISprite_dressSpriteEquip, param2:int, param3:String, param4:String) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("dressSpriteEquip");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeString(param3);
            _loc_7.writeString(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function openSpriteSystem_async(param1:AMI_ISprite_openSpriteSystem) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("openSpriteSystem");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function setName_async(param1:AMI_ISprite_setName, param2:int, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("setName");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function upgradeSpriteSkill_async(param1:AMI_ISprite_upgradeSpriteSkill, param2:int, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("upgradeSpriteSkill");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

    }
}
